<?php
/**
 * Represents a Character.
 *
 * @author Mark Dohmen.
 */
abstract class Character extends Entity {
	
	/**
 	 * Is this Character dead or not.
 	 */
	private $isDead = false;
	
	/**
 	 * Is this Character in combat or not.
 	 */
	private $isInCombat = false;
	
	/**
 	 * Set this Characters isDead status.
	 *
	 * @param $isDead
 	 */
	final public function setIsDead(boolean $isDead) {
		$this->isDead = $isDead;
	}
	
	/**
 	 * Gets this Characters isDead status.
 	 */
	final public function getIsDead() {
		return (boolean) $this->isDead;	
	}
	
	/**
 	 * Sets this Character combat status.
	 *
	 * @param $isInCombat
 	 */
	final public function setIsInCombat(boolean $isInCombat) {
		$this->isInCombat = $isInCombat;
	}
	
	/**
 	 * Gets this Character combat status.
	 *
	 * @param $isInCombat
 	 */
	final public function getIsInCombat() {
		return (boolean) $this->isInCombat;	
	}
}
?>